package com.movitech.mobile.cz.base.entity;

import com.movitech.mobile.cz.base.common.util.excel.annotation.ExcelField;
import lombok.Data;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * Created by robie.cao on 2018/5/24.
 */
@Data
public class AreaPurchaseAmountVO {

    private Date purchaseStartTime;

    private Date purchaseEndTime;

    @ExcelField(title = "采购完成时间",sort = 1)
    private String concatTime;

    public String getConcatTime() {
        return DateUtil.concatTime(purchaseStartTime,purchaseEndTime);
    }

    private String regionalCompanyId;

    @ExcelField(title = "地区公司名称",sort = 2)
    private String regionalCompanyName;

    @ExcelField(title = "采购数量(个)",sort = 3)
    private Integer purchaseAmount;

    @ExcelField(title = "采购金额(元)",sort = 4)
    private Double purchaseMoney;


}
